//
//  CustUIToolBar.h
//  iTinyBag
//
//  Created by maxh on 1/2/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@class CustUIToolBar;
@protocol CustUIToolBarDelegate <NSObject>
@required
-(void)ViewBackupContacts:(UIBarButtonItem *) sender;
-(void)Backup:(UIBarButtonItem *)sender;
- (void)Share:(UIBarButtonItem *)sender;
- (void)View:(UIBarButtonItem *)sender;
@end


@interface CustUIToolBar : UIToolbar {
	id<CustUIToolBarDelegate> delegate;
}

@property (nonatomic, assign) id <CustUIToolBarDelegate> delegate;
-(IBAction)ViewBKContacts:(UIBarButtonItem *)sender;
-(IBAction)BackupItem:(UIBarButtonItem *)sender;
- (IBAction)ShareItem:(UIBarButtonItem *)sender;
- (IBAction)ViewItem:(UIBarButtonItem *)sender;
-(id)Delegate;
-(void)setDelegate:(id) cutbDelegate;
- (id)initWithFrame:(CGRect)aRect;
- (id)init;
@end
